Enable Default Information Originate

You can enable DIO (Default Information Originate) when you create or update a VRF. The "Default Information Originate" feature is commonly used in interior dynamic routing protocols such as iBGP. It is an important feature in network design as it ensures connectivity to networks that may not be explicitly known to all routers in the network, like the Internet. The main purpose of this feature is to allow a router to advertise a default route to other routers in the network, which is a 'catch-all' route that is used when a router does not have a more specific route for a destination in its routing table. This is represented as 0.0.0.0/0.

During Fabric creation (Clos and non-Clos), you can define the fabric wide setting to enable backup routing. When enabled, XCO creates an iBGP session between MCT Cluster peer to announce routes for traffic forwarding through the MCT peer in case all links to uplink from a given switch is lost. The creation of iBGP session is automated as part of the XCO tenant service. iBGP session announces routes correctly based on EBGP non-default static routes. If you rely on static routing, especially, default static route for routing towards the service provider router, the "default static router" is typically not announced to the MCT peer via iBGP session. This may result in traffic loss when uplinks are lost of specific MCT member.

To solve this issue, "Enable Default Information Originate" allows MCT peers to announce default routes explicitly. This can be done by configuring BGP peering with SLX configuration option "default-information-originate" at per VRF level.

About this task

Follow this procedure to enable or disable DIO on a tenant VRF when you create or update a VRF.
  • When you create or update a tenant VRF, you can choose the option to enable DIO. If you choose to enable DIO, XCO will configure DIO on the switches.
  • When you trigger L3 EPG create or L2 EPG transition to L3 EPG, VRF is instantiated on the switches based on the endpoints present in the EPG.
  • When you trigger VRF update operation, VRF is updated on the switches based on the endpoints present in the EPGs.
  • When you configure a VRF, the DIO automatically gets configured.
Note

Note

  • By default, the DIO is disabled.
  • When you upgrade from pre-XCO 3.4.0 to XCO 3.4.0 or later, DIO is disabled on VRFs and you can enable it.
  • For information on hardware support, refer to the SLXOS documentation.

Procedure

  1. Run the following command to enable or disable DIO when you create a VRF:
    efa tenant vrf create --name <vrf-name> --tenant <tenant-name> --default-information-originate-enable {true|false}
  2. Run the following command to enable or disable DIO when you update a VRF:
    efa tenant vrf update --name <vrf-name> --tenant <tenant-name> 
                   --operation default-information-originate-update --default-information-originate-enable {true|false}

Example

efa tenant vrf create --name vs --tenant t1 -- default-information-originate-enable true

efa tenant vrf show --tenant t1 --name vs --detail
=================================================================
Name                          : vs
Tenant                        : t1
Routing Type                  : distributed
Centralized Routers           : 
Enable Layer3 Extension       : true
Redistribute                  : connected
Max Path                      : 8
Local Asn                     : 
L3VNI                         : 
EVPN IRB BD                   : 
EVPN IRB VE                   : 
BR VNI                        : 
BR BD                         : 
BR VE                         : 
RH Max Path                   : 
Enable RH ECMP                : false
Enable Graceful Restart       : false
Enable NextHop Recursion      : false
Default Information Originate : true
Route Target                  : 
Static Route                  :
Static Route BFD              :
Network Route Address         :
Static Network                :
Aggregate Address             :
VRF Type                      : private
State                         : vrf-created
Dev State                     : not-provisioned
App State                     : cfg-ready
========================================================================


efa tenant epg create --name epg1 --tenant t1 --switchport-mode trunk --po po1  --port 10.20.246.15[0/18] --vrf vs --l3-vni 30211 --ctag-range 23-25 --anycast-ip 23:23.10.12.2/24  --anycast-ip 24:24.10.12.1/24 --anycast-ip 25:25.10.12.1/24  --suppress-arp 25:true

efa tenant vrf show --tenant t1 --name vs --detail
=========================================================================
Name                          : vs
Tenant                        : t1
Routing Type                  : distributed
Centralized Routers           : 
Enable Layer3 Extension       : true
Redistribute                  : connected
Max Path                      : 8
Local Asn                     : 
L3VNI                         : 30211
EVPN IRB BD                   : 4096
EVPN IRB VE                   : 8192
BR VNI                        : 
BR BD                         : 
BR VE                         : 
RH Max Path                   : 
Enable RH ECMP                : false
Enable Graceful Restart       : false
Enable NextHop Recursion      : false
Default Information Originate : true
Route Target                  : import 101:101
                              : export 101:101
Static Route                  :
Static Route BFD              :
Static Network                :
Aggregate Address		:
VRF Type                      : private
State                         : vrf-device-created
Dev State                     : provisioned
App State                     : cfg-in-sync
=====================================================================
Rack1-Device1# show run router bgp
router bgp
 local-as 4200000000
 capability as4-enable
 fast-external-fallover
 neighbor 10.20.20.3 remote-as 4200000000
 neighbor 10.20.20.3 next-hop-self
 address-family ipv4 unicast
  network 172.31.254.206/32
  network 172.31.254.222/32
  maximum-paths 8
  graceful-restart
 !
 address-family ipv4 unicast vrf vs
  default-information-originate
  redistribute connected
  maximum-paths 8
 !
 address-family ipv6 unicast
 !
 address-family ipv6 unicast vrf vs
  default-information-originate
  redistribute connected
  maximum-paths 8
 !
 address-family l2vpn evpn
  graceful-restart
 !
!
Rack1-Device1#
Rack1-Device2# show run router bgp
router bgp
 local-as 4200000000
 capability as4-enable
 fast-external-fallover
 neighbor 10.20.20.2 remote-as 4200000000
 neighbor 10.20.20.2 next-hop-self
 address-family ipv4 unicast
  network 172.31.254.182/32
  network 172.31.254.222/32
  maximum-paths 8
  graceful-restart
 !
 address-family ipv4 unicast vrf vs
  default-information-originate
  redistribute connected
  maximum-paths 8
 !
 address-family ipv6 unicast
 !
 address-family ipv6 unicast vrf vs
  default-information-originate
  redistribute connected
  maximum-paths 8
 !
 address-family l2vpn evpn
  graceful-restart
 !
!
Rack1-Device2#
efa tenant vrf update --name vs --tenant t1 --operation next-hop-recursion-update --operation default-information-originate-update


efa tenant vrf show --tenant t1 --name vs --detail
=========================================================================
Name                          : vs
Tenant                        : t1
Routing Type                  : distributed
Centralized Routers           : 
Enable Layer3 Extension       : true
Redistribute                  : connected
Max Path                      : 8
Local Asn                     : 
L3VNI                         : 30211
EVPN IRB BD                   : 4096
EVPN IRB VE                   : 8192
BR VNI                        : 
BR BD                         : 
BR VE                         : 
RH Max Path                   : 
Enable RH ECMP                : false
Enable Graceful Restart       : false
Enable NextHop Recursion      : false
Default Information Originate : false
Route Target		     : import 101:101
                              : export 101:101
Static Route                  :
Static Route BFD              :
Network Route Address         :
Static Network                :
Aggregate Address             :
VRF Type                      : private
State                         : vrf-device-created
Dev State                     : provisioned
App State                     : cfg-in-sync
========================================================================
Rack1-Device1# show run router bgp
router bgp
 local-as 4200000000
 capability as4-enable
 fast-external-fallover
 neighbor 10.20.20.3 remote-as 4200000000
 neighbor 10.20.20.3 next-hop-self
 address-family ipv4 unicast
  network 172.31.254.206/32
  network 172.31.254.222/32
  maximum-paths 8
  graceful-restart
 !
 address-family ipv4 unicast vrf vs
  redistribute connected
  maximum-paths 8
 !
 address-family ipv6 unicast
 !
 address-family ipv6 unicast vrf vs
  redistribute connected
  maximum-paths 8
 !
 address-family l2vpn evpn
  graceful-restart
 !
!
Rack1-Device1#
Rack1-Device2# show run router bgp
router bgp
 local-as 4200000000
 capability as4-enable
 fast-external-fallover
 neighbor 10.20.20.2 remote-as 4200000000
 neighbor 10.20.20.2 next-hop-self
 address-family ipv4 unicast
  network 172.31.254.182/32
  network 172.31.254.222/32
  maximum-paths 8
  graceful-restart
 !
 address-family ipv4 unicast vrf vs
  redistribute connected
  maximum-paths 8
 !
 address-family ipv6 unicast
 !
 address-family ipv6 unicast vrf vs
  redistribute connected
  maximum-paths 8
 !
 address-family l2vpn evpn
  graceful-restart
 !
!
Rack1-Device2#